<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>CheLive: CoreTypes: Класс TList</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TList"></a><h1 class="cio">Класс TList</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Описание</a></td><td><a class="section"  href="#%40Hierarchy">Иерархия</a></td><td><a class="section"  href="#%40Fields">Поля</a></td><td><a class="section"  href="#%40Methods">Методы</a></td><td><a class="section"  href="#%40Properties">Свойства</a></td></tr></table>
<a name="%40Description"></a><h2 class="unit">Модуль</h2>
<p class="unitlink">
<a   href="CoreTypes.html">CoreTypes</a></p>
<h2 class="declaration">Объявления</h2>
<p class="declaration">
<code>type TList = class(TObject)</code></p>
<h2 class="description">Описание</h2>
<p>
Список элементов      </p>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Иерархия</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TList</li></ul><h2 class="overview">Обзор</h2>
<a name="%40Fields"></a><h3 class="summary">Поля</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreTypes.TList.html#items">items</a></b>: array of T;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreTypes.TList.html#size">size</a></b>: Integer;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreTypes.TList.html#realSize">realSize</a></b>: Integer;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreTypes.TList.html#factSize">factSize</a></b>: Integer;</code></td>
</tr>
</table>
<a name="%40Methods"></a><h3 class="summary">Методы</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CoreTypes.TList.html#Add">Add</a></b>(item: T): T;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CoreTypes.TList.html#Find">Find</a></b>(name: String): T;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CoreTypes.TList.html#IndexOf">IndexOf</a></b>(item: T): Integer;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreTypes.TList.html#Rem">Rem</a></b>(item: T);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="CoreTypes.TList.html#Create">Create</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="CoreTypes.TList.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
</table>
<a name="%40Properties"></a><h3 class="summary">Свойства</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CoreTypes.TList.html#itemsByIndex">itemsByIndex</a></b>[index: Integer]: T read GetItem write SetItem;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <b><a   href="CoreTypes.TList.html#itemsByName">itemsByName</a></b>[index: String]: T read GetItemByName;</code></td>
</tr>
</table>
<h2 class="description">Описание</h2>
<h3 class="detail">Поля</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="items"></a><code><b>items</b>: array of T;</code></td>
</tr>
<tr><td colspan="2">
<p>
массив элементов</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="size"></a><code><b>size</b>: Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
размер списка (может увеличиваться при добавлении элемента, это макс. кол-во занятых ячеек в массиве <a class="normal"  href="CoreTypes.TList.html#items">items</a>)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="realSize"></a><code><b>realSize</b>: Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
реальный размер списка(размер массива <a class="normal"  href="CoreTypes.TList.html#items">items</a>, увеличивается на <a class="normal"  href="CoreTypes.html#LIST_ITER">LIST_ITER</a> при добавлении элемента если нет больше свободных ячеек и <a class="normal"  href="CoreTypes.TList.html#size">size</a> = <code>realSize</code> (т.е. когда в использвании весь массив <a class="normal"  href="CoreTypes.TList.html#items">items</a>))</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="factSize"></a><code><b>factSize</b>: Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
фактический размер списка (увеличивается/уменшается на 1 при добавлении/удалении элемента)</p>
</td></tr>
</table>
<h3 class="detail">Методы</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Add"></a><code>function <b>Add</b>(item: T): T;</code></td>
</tr>
<tr><td colspan="2">
<p>
Добавление элемента  </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>item</dt>
<dd>элемент</dd>
</dl>
<h6 class="description_section">Возвращаемые значения</h6>
<p class="return">элемент (item)</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Find"></a><code>function <b>Find</b>(name: String): T;</code></td>
</tr>
<tr><td colspan="2">
<p>
Поиск элемента по имени  </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>name</dt>
<dd>имя</dd>
</dl>
<h6 class="description_section">Возвращаемые значения</h6>
<p class="return">элемент или nil (если нет элемента с таким именем)</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="IndexOf"></a><code>function <b>IndexOf</b>(item: T): Integer;</code></td>
</tr>
<tr><td colspan="2">
<p>
Получение индекса элемента  </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>item</dt>
<dd>элемент</dd>
</dl>
<h6 class="description_section">Возвращаемые значения</h6>
<p class="return">индекс элемента в массиве <a class="normal"  href="CoreTypes.TList.html#items">items</a></p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Rem"></a><code>procedure <b>Rem</b>(item: T);</code></td>
</tr>
<tr><td colspan="2">
<p>
Удаление элемента </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>item</dt>
<dd>элемент</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<h3 class="detail">Свойства</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="itemsByIndex"></a><code>property <b>itemsByIndex</b>[index: Integer]: T read GetItem write SetItem;</code></td>
</tr>
<tr><td colspan="2">
<p>
получение элемента по числовому индексу</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="itemsByName"></a><code>property <b>itemsByName</b>[index: String]: T read GetItemByName;</code></td>
</tr>
<tr><td colspan="2">
<p>
получение элемента по имени </p>
<h6 class="description_section">Материалы по теме</h6>
<dl class="see_also">
  <dt><a class="normal"  href="CoreTypes.TListItem.html#name">TListItem.name</a></dt>
  <dd></dd>
</dl>
</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Сгенерировал <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> дата/время 2010-05-02 13:43:34</em>
</span>
</body></html>
